package com.crm.model.vo.activityManager;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.HashMap;
import java.util.List;

/**
 * 新建合同-选择产品后显示产品参加活动
 * @author luojie
 * @date 2021/3/15 13:49
 */
@Data
public class CustomerProductGiftActivityContractVO {

    //赠品活动ID
    private String productGiftActivityId;

    //赠品活动名称
    private String giftActivityName;

    //产品名称
    private String productName;

    //赠品类别(1:产品类;2:价格类)
    private String giftCategory;

    //赠品类别(1:产品类;2:价格类)
    private String giftCategoryName;

    //赠品活动价格起始价
    private BigDecimal giftActivityPriceStart;

    //赠品活动价格截止价
    private BigDecimal giftActivityPriceEnd;

    //赠品活动有效期起始时间
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm",timezone="GMT+8")
    private Date giftPeriodValidityStart;

    //赠品活动有效期截止时间
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm",timezone="GMT+8")
    private Date giftPeriodValidityEnd;

    //赠品活动下赠品list
    List<HashMap> giftProductList;
}
